package com.qidian.mes.pojo;

import java.util.Date;


public class CalTeamShift {//班组排班表
    private Long recordId;
    private Date theDay;
    private String teamCode;
    private String teamName;
    private Long shiftId;
    private String shiftName;
    private Integer orderNum;
    private Long planId;
    private String shiftType;
    private String remark;
    private String createBy;
    private Date createTime;
    private String updateBy;
    private Date updateTime;
    private Long createTimeMillis;
    private Long modifyTimeMillis;

    public CalTeamShift() {
    }

    public CalTeamShift(Long recordId, Date theDay, String teamCode, String teamName, Long shiftId, String shiftName, Integer orderNum, Long planId, String shiftType, String remark, String createBy, Date createTime, String updateBy, Date updateTime, Long createTimeMillis, Long modifyTimeMillis) {
        this.recordId = recordId;
        this.theDay = theDay;
        this.teamCode = teamCode;
        this.teamName = teamName;
        this.shiftId = shiftId;
        this.shiftName = shiftName;
        this.orderNum = orderNum;
        this.planId = planId;
        this.shiftType = shiftType;
        this.remark = remark;
        this.createBy = createBy;
        this.createTime = createTime;
        this.updateBy = updateBy;
        this.updateTime = updateTime;
        this.createTimeMillis = createTimeMillis;
        this.modifyTimeMillis = modifyTimeMillis;
    }

    /**
     * 获取
     * @return recordId
     */
    public Long getRecordId() {
        return recordId;
    }

    /**
     * 设置
     * @param recordId
     */
    public void setRecordId(Long recordId) {
        this.recordId = recordId;
    }

    /**
     * 获取
     * @return theDay
     */
    public Date getTheDay() {
        return theDay;
    }

    /**
     * 设置
     * @param theDay
     */
    public void setTheDay(Date theDay) {
        this.theDay = theDay;
    }

    public String getTeamCode() {
        return teamCode;
    }

    public void setTeamCode(String teamCode) {
        this.teamCode = teamCode;
    }

    /**
     * 获取
     * @return teamName
     */
    public String getTeamName() {
        return teamName;
    }

    /**
     * 设置
     * @param teamName
     */
    public void setTeamName(String teamName) {
        this.teamName = teamName;
    }

    /**
     * 获取
     * @return shiftId
     */
    public Long getShiftId() {
        return shiftId;
    }

    /**
     * 设置
     * @param shiftId
     */
    public void setShiftId(Long shiftId) {
        this.shiftId = shiftId;
    }

    /**
     * 获取
     * @return shiftName
     */
    public String getShiftName() {
        return shiftName;
    }

    /**
     * 设置
     * @param shiftName
     */
    public void setShiftName(String shiftName) {
        this.shiftName = shiftName;
    }

    /**
     * 获取
     * @return orderNum
     */
    public Integer getOrderNum() {
        return orderNum;
    }

    /**
     * 设置
     * @param orderNum
     */
    public void setOrderNum(Integer orderNum) {
        this.orderNum = orderNum;
    }

    /**
     * 获取
     * @return planId
     */
    public Long getPlanId() {
        return planId;
    }

    /**
     * 设置
     * @param planId
     */
    public void setPlanId(Long planId) {
        this.planId = planId;
    }

    /**
     * 获取
     * @return shiftType
     */
    public String getShiftType() {
        return shiftType;
    }

    /**
     * 设置
     * @param shiftType
     */
    public void setShiftType(String shiftType) {
        this.shiftType = shiftType;
    }

    /**
     * 获取
     * @return remark
     */
    public String getRemark() {
        return remark;
    }

    /**
     * 设置
     * @param remark
     */
    public void setRemark(String remark) {
        this.remark = remark;
    }

    /**
     * 获取
     * @return createBy
     */
    public String getCreateBy() {
        return createBy;
    }

    /**
     * 设置
     * @param createBy
     */
    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    /**
     * 获取
     * @return createTime
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * 设置
     * @param createTime
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * 获取
     * @return updateBy
     */
    public String getUpdateBy() {
        return updateBy;
    }

    /**
     * 设置
     * @param updateBy
     */
    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    /**
     * 获取
     * @return updateTime
     */
    public Date getUpdateTime() {
        return updateTime;
    }

    /**
     * 设置
     * @param updateTime
     */
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Long getCreateTimeMillis() {
        if(this.createTime != null) {
            return this.createTime.getTime();
        }
        return null;
    }

    /**
     * 设置
     * @param createTimeMillis
     */
    public void setCreateTimeMillis(Long createTimeMillis) {
        this.createTimeMillis = createTimeMillis;
    }

    /**
     * 获取
     * @return modifyTimeMillis
     */
    public Long getModifyTimeMillis() {
        if(this.updateTime != null) {
            return this.updateTime.getTime();
        }
        return null;
    }

    /**
     * 设置
     * @param modifyTimeMillis
     */
    public void setModifyTimeMillis(Long modifyTimeMillis) {
        this.modifyTimeMillis = modifyTimeMillis;
    }

    public String toString() {
        return "CalTeamShift{recordId = " + recordId + ", theDay = " + theDay + ", teamCode = " + teamCode + ", teamName = " + teamName + ", shiftId = " + shiftId + ", shiftName = " + shiftName + ", orderNum = " + orderNum + ", planId = " + planId + ", shiftType = " + shiftType + ", remark = " + remark + ", createBy = " + createBy + ", createTime = " + createTime + ", updateBy = " + updateBy + ", updateTime = " + updateTime + ", createTimeMillis = " + createTimeMillis + ", modifyTimeMillis = " + modifyTimeMillis + "}";
    }
}
